Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

A C D E F G H I L M N O P R S T U V W Y

## A

accepted - Variable in class edu.wpi.cetask.guide.Guide
add(Plan) - Method in class edu.wpi.cetask.Plan
  Add given plan as child of this plan.
addTop(Plan) - Method in class edu.wpi.cetask.TaskEngine
  Add given plan to current task tree at toplevel.
apply(DecompositionClass) - Method in class edu.wpi.cetask.Plan

## C

checkSlotValue(String, Object) - Method in class edu.wpi.cetask.Task
checkSlotValueScript(String, String) - Method in class edu.wpi.cetask.Task
children() - Method in class edu.wpi.cetask.Plan
clear(String) - Method in class edu.wpi.cetask.guide.Guide
  Reinitialize current task state (but keeps loaded models).
clear() - Method in class edu.wpi.cetask.TaskEngine
command - Variable in class edu.wpi.cetask.guide.Guide
COMPLETED - Static variable in class edu.wpi.cetask.guide.Guide
copySlotValue(Task, String) - Method in class edu.wpi.cetask.Task
  If named slot of this task is defined, copy value to corresponding slot of given task.
copySlotValues(Task) - Method in class edu.wpi.cetask.Task
  Copies the values of defined slots from this task to given task.

## D

debug(String) - Method in class edu.wpi.cetask.guide.Guide
  Control debugging output.
DEBUG - Static variable in class edu.wpi.cetask.TaskEngine
decomposeAll() - Method in class edu.wpi.cetask.Plan
decomposeAll() - Method in class edu.wpi.cetask.TaskEngine
  Call `Plan.decomposeAll()` on all plans in current tree.
Decomposition - Class in edu.wpi.cetask
  Representation for instances of a decomposition class.
Decomposition.Step - Class in edu.wpi.cetask
DecompositionClass - Class in edu.wpi.cetask
deleteSlotValue(String) - Method in class edu.wpi.cetask.Decomposition.Step
deleteSlotValue(String) - Method in class edu.wpi.cetask.Task
  Make named slot undefined.
DONE - Static variable in class edu.wpi.cetask.guide.Guide
done(String) - Method in class edu.wpi.cetask.guide.Guide
  Report user performance of primitive task.

## E

edu.wpi.cetask - package edu.wpi.cetask
edu.wpi.cetask.guide - package edu.wpi.cetask.guide
EMPTY - Static variable in class edu.wpi.cetask.guide.Guide
emptyNull(String) - Static method in class edu.wpi.cetask.Utils
  Return null if given string is empty, otherwise string.
engine - Variable in class edu.wpi.cetask.guide.Guide
equals(Object, Object) - Static method in class edu.wpi.cetask.Utils
  Test whether given objects are either both null or `java.lang#equal(Object,Object)`.
eval(String, String) - Method in class edu.wpi.cetask.Decomposition.Step
eval(String) - Method in class edu.wpi.cetask.guide.Guide
  Evaluate given JavaScript code and report return value.
eval(Task) - Method in class edu.wpi.cetask.Script
eval(String, Bindings, String) - Method in class edu.wpi.cetask.TaskEngine
evalGlobal(String, String) - Method in class edu.wpi.cetask.TaskEngine
exception(Exception) - Method in class edu.wpi.cetask.guide.Guide
execute() - Method in class edu.wpi.cetask.Plan
  System executes script for goal of this plan.

## F

FAILED - Static variable in class edu.wpi.cetask.guide.Guide
findMatches(Task, boolean) - Method in class edu.wpi.cetask.Plan
  Return list of plans in this plan tree whose goal matches given task.
findMatches(Task, boolean, Plan) - Method in class edu.wpi.cetask.Plan
  Return list of plans in this plan tree whose goal matches given task.
findMatches(Task, boolean) - Method in class edu.wpi.cetask.TaskEngine
  Return list of plans in task tree with goal matching given task, searching in the following categories, in order: within current focus within current toplevel plan any toplevel plan If matching plans are found in one category, search does not continue to next category.

## G

getBlockers() - Method in class edu.wpi.cetask.Plan
getDeclaredInputNames() - Method in class edu.wpi.cetask.TaskClass
  Return list of declared input slot names.
getDeclaredOutputNames() - Method in class edu.wpi.cetask.TaskClass
  Return list of declared output slot names.
getDecomposition() - Method in class edu.wpi.cetask.Decomposition.Step
getDecomposition() - Method in class edu.wpi.cetask.Plan
getDecompositions() - Method in class edu.wpi.cetask.Task
getDecompositions() - Method in class edu.wpi.cetask.TaskClass
getDeviceType() - Method in class edu.wpi.cetask.Script
getDeviceType(Task) - Method in class edu.wpi.cetask.TaskEngine
getExternal() - Method in class edu.wpi.cetask.Task
  Get the value of the predefined 'external' slot.
getFocus() - Method in class edu.wpi.cetask.TaskEngine
  Return the current focus in the task tree, or null if no focus.
  Note that this is not the discourse concept of focus (cf.
getGoal() - Method in class edu.wpi.cetask.Decomposition
getGoal() - Method in class edu.wpi.cetask.DecompositionClass
getGoal() - Method in class edu.wpi.cetask.Plan
getInputNames() - Method in class edu.wpi.cetask.TaskClass
  Return list of input slot names, including "external".
getLive() - Method in class edu.wpi.cetask.Plan
  Return list of live children of this plan.
getLiveDescendants() - Method in class edu.wpi.cetask.Plan
  Return list of live descendants of this plan.
getMaxOccursStep(String) - Method in class edu.wpi.cetask.DecompositionClass
  Return the maximum number of times named step in this decomposition class may be repeated, or -1 if unbounded.
getModel() - Method in class edu.wpi.cetask.Script
getModel(String) - Method in class edu.wpi.cetask.TaskEngine
  Return task model for given namespace.
getName() - Method in class edu.wpi.cetask.Decomposition.Step
getNamespace() - Static method in class edu.wpi.cetask.TaskEngine
getNotes() - Method in class edu.wpi.cetask.Plan
  Return list of notes to be added to verbose printing of this plan.
getOutputNames() - Method in class edu.wpi.cetask.TaskClass
  Return list of output slot names, including "success" and "when".
getParent() - Method in class edu.wpi.cetask.Plan
getPlatform() - Method in class edu.wpi.cetask.Script
getPlatform(Task) - Method in class edu.wpi.cetask.TaskEngine
getRequiredStepNames(String) - Method in class edu.wpi.cetask.DecompositionClass
getScript() - Method in class edu.wpi.cetask.Task
  Return appropriate and applicable script to ground this task, or null if none.
getScriptEngine() - Method in class edu.wpi.cetask.TaskEngine
getScripts() - Method in class edu.wpi.cetask.TaskClass
getScripts() - Method in class edu.wpi.cetask.TaskModel
getSlotType(String) - Method in class edu.wpi.cetask.TaskClass
getSlotValue(String) - Method in class edu.wpi.cetask.Task
  Return value of the named slot.
  Note that this method returns a Java object, but the real values are stored in JavaScript and must be converted to Java objects when returned by this method.
getSlotValueToString(String) - Method in class edu.wpi.cetask.Task
  Return the string obtained by calling toString method (in JavaScript) on value of named slot.
getStart() - Method in class edu.wpi.cetask.TaskEngine
getStep(String) - Method in class edu.wpi.cetask.Decomposition
getStepNames() - Method in class edu.wpi.cetask.DecompositionClass
getSteps() - Method in class edu.wpi.cetask.Decomposition
getStepType(String) - Method in class edu.wpi.cetask.DecompositionClass
getStepTypes() - Method in class edu.wpi.cetask.DecompositionClass
getSuccess() - Method in class edu.wpi.cetask.Task
  Get the value of the predefined 'success' slot
getTask() - Method in class edu.wpi.cetask.DecompositionClass
getTask() - Method in class edu.wpi.cetask.Script
getTaskClass(String) - Method in class edu.wpi.cetask.TaskModel
getText() - Method in class edu.wpi.cetask.Script
getTop(Plan) - Method in class edu.wpi.cetask.TaskEngine
getType() - Method in class edu.wpi.cetask.Decomposition
getType() - Method in class edu.wpi.cetask.Task
getWhen() - Method in class edu.wpi.cetask.Task
  Get time when this task occurred, if it did.
GOODBYE - Static variable in class edu.wpi.cetask.guide.Guide
Guide - Class in edu.wpi.cetask.guide
Guide(String) - Constructor for class edu.wpi.cetask.guide.Guide

## H

hasFailed() - Method in class edu.wpi.cetask.Plan
  Test whether this plan has any failed children.
hasLiveDescendants() - Method in class edu.wpi.cetask.Plan
  Test whether this plan has any live descendants.
help(String) - Method in class edu.wpi.cetask.guide.Guide

## I

INVALID - Static variable in class edu.wpi.cetask.guide.Guide
isAchieved() - Method in class edu.wpi.cetask.Task
isAncestor(Plan) - Method in class edu.wpi.cetask.Plan
  Test whether given plan can be reached from this plan by following parents.
isApplicable(Task) - Method in class edu.wpi.cetask.DecompositionClass
isApplicable(Task) - Method in class edu.wpi.cetask.Script
isApplicable() - Method in class edu.wpi.cetask.Task
isComplete() - Method in class edu.wpi.cetask.Plan
  Tests whether this plan has been decomposed (either by applying a DecompositionClass or procedurally) and all the non-optional steps are done.
isDecomposed() - Method in class edu.wpi.cetask.Plan
isDefinedInputs() - Method in class edu.wpi.cetask.Task
  Test whether all declared input slots (i.e., not including "external") have defined values.
isDefinedOutputs() - Method in class edu.wpi.cetask.Task
  Test whether all declared output slots (i.e., not including "success" and "when") have defined values.
isDefinedSlot(String) - Method in class edu.wpi.cetask.Task
  Test whether slot value is defined.
isDescendant(Plan) - Method in class edu.wpi.cetask.Plan
  Test whether given plan can be reached from this plan by following children.
isDone() - Method in class edu.wpi.cetask.Plan
  Tests whether plans which require this plan should become live.
isFailed() - Method in class edu.wpi.cetask.Plan
isFalse(Boolean) - Static method in class edu.wpi.cetask.Utils
isInit() - Method in class edu.wpi.cetask.Script
isLive() - Method in class edu.wpi.cetask.Plan
isOptional() - Method in class edu.wpi.cetask.Plan
isOptionalStep(String) - Method in class edu.wpi.cetask.DecompositionClass
  Test whether named step in this decomposition class is optional.
isOrdered() - Method in class edu.wpi.cetask.DecompositionClass
isPassed() - Method in class edu.wpi.cetask.Plan
isPrimitive() - Method in class edu.wpi.cetask.TaskClass
  Test whether this task class is primitive (relative to models in current task engine).
isRequired(Plan) - Method in class edu.wpi.cetask.Plan
isStarted() - Method in class edu.wpi.cetask.Plan
isTrue(Boolean) - Static method in class edu.wpi.cetask.Utils

## L

LETS - Static variable in class edu.wpi.cetask.guide.Guide
load(String) - Method in class edu.wpi.cetask.guide.Guide
  Verify and parse specified task model.
loop() - Method in class edu.wpi.cetask.guide.Guide
  Command loop.

## M

main(String[]) - Static method in class edu.wpi.cetask.guide.Guide
matches(Task) - Method in class edu.wpi.cetask.Task
  Test whether given task instance matches this task instance.
MAX_BINDING_DEPTH - Static variable in class edu.wpi.cetask.DecompositionClass
  Maximum allowed depth of dependency chain in bindings (default 10).

## N

newFocus(Plan) - Method in class edu.wpi.cetask.TaskEngine
  Return first ancestor of given plan which is live or has live descendants, stopping at toplevel plan containing given plan, or null if none.
newInstance() - Method in class edu.wpi.cetask.TaskClass
next(String) - Method in class edu.wpi.cetask.guide.Guide
  Advise the user what needs to be done next.
no(String) - Method in class edu.wpi.cetask.guide.Guide
  Reject system proposals.
NOFOCUS - Static variable in class edu.wpi.cetask.guide.Guide
NONEXT - Static variable in class edu.wpi.cetask.guide.Guide

## O

occurred() - Method in class edu.wpi.cetask.Plan
occurred() - Method in class edu.wpi.cetask.Task
  Test whether this task instance occurred.
OK - Static variable in class edu.wpi.cetask.guide.Guide
OPTIONAL - Static variable in class edu.wpi.cetask.guide.Guide

## P

parse(String) - Method in class edu.wpi.cetask.TaskEngine
  Load and return task model from XML document at given URI
Plan - Class in edu.wpi.cetask
Plan(Task) - Constructor for class edu.wpi.cetask.Plan
PLEASE - Static variable in class edu.wpi.cetask.guide.Guide
print(PrintStream) - Method in class edu.wpi.cetask.Plan
print(PrintStream, int) - Method in class edu.wpi.cetask.Plan
println(Object) - Method in class edu.wpi.cetask.guide.Guide
PROMPT - Static variable in class edu.wpi.cetask.guide.Guide
propose(Plan) - Method in class edu.wpi.cetask.guide.Guide
proposed - Variable in class edu.wpi.cetask.guide.Guide

## R

recognize(Task) - Method in class edu.wpi.cetask.Plan
  Recognize given task as matching this plan and copy slot values.
rejected - Variable in class edu.wpi.cetask.guide.Guide
remove(Plan) - Method in class edu.wpi.cetask.Plan
  Remove given child of this plan.
removeTop(Plan) - Method in class edu.wpi.cetask.TaskEngine
  Remove given toplevel plan from current tree.
requires(Plan) - Method in class edu.wpi.cetask.Plan
RETRY - Static variable in class edu.wpi.cetask.guide.Guide
RETURNED - Static variable in class edu.wpi.cetask.guide.Guide

## S

Script - Class in edu.wpi.cetask
setBooleanSlotValue(String, Boolean) - Method in class edu.wpi.cetask.Task
  Like setSlotValue(), but results in boolean JavaScript value.
setDecomposed(boolean) - Method in class edu.wpi.cetask.Plan
setExternal(boolean) - Method in class edu.wpi.cetask.Task
  Set the predefined 'success' output slot of this task.
setFocus(Plan) - Method in class edu.wpi.cetask.TaskEngine
  Shift focus to the given plan or null.
setIntSlotValue(String, Integer) - Method in class edu.wpi.cetask.Task
  Like setSlotValue(), but results in JavaScript number value.
setOptional(boolean) - Method in class edu.wpi.cetask.Plan
setSlotValue(String, Object) - Method in class edu.wpi.cetask.Decomposition.Step
setSlotValue(String, Object) - Method in class edu.wpi.cetask.Task
  Set the value of named slot to given value.
  Note that the given Java object must be converted to a JavaScript object for storage.
setSlotValueScript(String, String, String) - Method in class edu.wpi.cetask.Decomposition.Step
setSlotValueScript(String, String, String) - Method in class edu.wpi.cetask.Task
  Set the value of named slot to result of evaluating given JavaScript expression.
setStart(long) - Method in class edu.wpi.cetask.TaskEngine
  Set the start time to be used for 'when' slot in verbose version of `Instance.toString()`.
setStringSlotValue(String, String) - Method in class edu.wpi.cetask.Task
  Like setSlotValue(), but results in JavaScript string value.
setSuccess(boolean) - Method in class edu.wpi.cetask.Task
  Set the predefined 'success' output slot of this task.
setWhen(long) - Method in class edu.wpi.cetask.Task
  Set the time when this task occurred.
SHALL - Static variable in class edu.wpi.cetask.guide.Guide
SHIFT - Static variable in class edu.wpi.cetask.guide.Guide
source(String) - Method in class edu.wpi.cetask.guide.Guide
  Start reading user input from given file.
status(String) - Method in class edu.wpi.cetask.guide.Guide
  Print out current task decomposition tree with status information.
system() - Method in class edu.wpi.cetask.guide.Guide
  Method for system turn.

## T

task(String) - Method in class edu.wpi.cetask.guide.Guide
  Set current task focus.
Task - Class in edu.wpi.cetask
TaskClass - Class in edu.wpi.cetask
TaskEngine - Class in edu.wpi.cetask
TaskEngine(String, String) - Constructor for class edu.wpi.cetask.TaskEngine
  Create a new task engine with given default values for platform and deviceType.
TaskEngine() - Constructor for class edu.wpi.cetask.TaskEngine
TaskModel - Class in edu.wpi.cetask
TOP - Static variable in class edu.wpi.cetask.guide.Guide
tops() - Method in class edu.wpi.cetask.TaskEngine
toString() - Method in class edu.wpi.cetask.Plan
toString() - Method in class edu.wpi.cetask.TaskModel
toStringVerbose() - Method in class edu.wpi.cetask.Task

## U

UNKNOWN - Static variable in class edu.wpi.cetask.guide.Guide
Utils - Class in edu.wpi.cetask

## V

validate(String) - Static method in class edu.wpi.cetask.Utils
  Validate given task model description against CEA-2018 RelaxNG schema (http://ce.org/CEA-2018).
verbose(String) - Method in class edu.wpi.cetask.guide.Guide
  Control verbose output.
VERBOSE - Static variable in class edu.wpi.cetask.TaskEngine
VERIFIED - Static variable in class edu.wpi.cetask.guide.Guide
VERSION - Static variable in class edu.wpi.cetask.guide.Guide

## W

warning(String) - Method in class edu.wpi.cetask.guide.Guide
WELCOME - Static variable in class edu.wpi.cetask.guide.Guide

## Y

yes(String) - Method in class edu.wpi.cetask.guide.Guide
  Accept system proposals.

A C D E F G H I L M N O P R S T U V W Y

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES